package com.san.system.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import lombok.Data;

/**
 * 用户DO
 *
 */
@Data
public class UserDO implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 用户id
	 */
	private Long userId;

	/**
	 * 帐号-ing
	 */
	private String userName;

	/**
	 * 姓名
	 */
	private String name;

	/**
	 * 密码-ing
	 */
	private String password;

	/**
	 * 部门id
	 */
	private Long deptId;

	/**
	 * 部门名称
	 */
	private String deptName;

	/**
	 * 邮箱-ing
	 */
	private String email;

	/**
	 * 手机号-ing
	 */
	private String mobile;

	/**
	 * 用户状态，0-正常 ，-1-禁用
	 */
	private Integer status;

	/**
	 * 创建用户id
	 */
	private Long userIdCreate;

	/**
	 * 创建时间
	 */
	private Date createDate;

	/**
	 * 修改时间
	 */
	private Date updateDate;

	/**
	 * 角色
	 */
	private List<Long> roleIds;

	/**
	 * 身份证
	 */
	private String identityId;

	/**
	 * 密码更新时间
	 */
	private Date pwdUpdateTime;

	/**
	 * 身份证
	 */
	private String showIdentityId;

	@Override
	public String toString() {
		return "UserDO{" + "userId=" + userId + ", userName='" + userName + '\'' + ", name='" + name + '\''
				+ ", password='" + password + '\'' + ", deptId=" + deptId + ", deptName='" + deptName + '\''
				+ ", email='" + email + '\'' + ", mobile='" + mobile + '\'' + ", status=" + status + ", userIdCreate="
				+ userIdCreate + ", createDate=" + createDate + ", updateDate=" + updateDate + ", roleIds=" + roleIds
				+ ", identityId='" + identityId + '\'' + ", pwdUpdateTime='" + pwdUpdateTime + '\'' + '}';
	}
}
